package com.vanguard.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vanguard.commons.base.BaseDomain;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Title: 预约视图对象
 * @Description:
 * @Author: vanguard
 * @Version: 1.0
 * @Date: 2018/11/19
 */
public class AppointmentVo extends BaseDomain {

    private String openId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 申请人姓名
     */
    private String applyerName;

    /**
     * 手机号
     */
    private String mobilePhone;

    /**
     * 身份证后六位
     */
    private String idNumber;

    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointTime;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /**
     * 所属支行
     */
    private String subbranch;

    /**
     * 申请状态
     */
    private Integer applyStatus;

    /**
     * 备注
     */
    private String remark;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getApplyerName() {
        return applyerName;
    }

    public void setApplyerName(String applyerName) {
        this.applyerName = applyerName;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Date getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(Date appointTime) {
        this.appointTime = appointTime;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getSubbranch() {
        return subbranch;
    }

    public void setSubbranch(String subbranch) {
        this.subbranch = subbranch;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
